import qs from 'qs';
export function deleteFile(id) {
  return new Promise((resolve, reject) => {
    let param = qs.stringify({id:id});
    this.axios.post(this.lib.config.host.system + "/common/fileupload/deleteFile",param).then((response) => {
      resolve(response.data);
    }).catch((error) => {
      reject(error);
    });
  });
}


export default {
  deleteFile
}